<?php
/**
 * component banner-slider
 */
?>
<?php $listeMedia = $slider->getMedias(); ?>
<div id="top-image">
    <ul id="slider-top-image">
    <?php foreach($listeMedia as $num=>$media): ?>
        <li id="step-<?php echo $num; ?>">
            <div class="top-image">
                <img class="banniere" src="<?php echo $media->getUrl(); ?>" title="<?php echo $this->translate($media,'title',$this->getLangueCode()); ?>" alt="<?php echo $this->translate($media,'legende',$this->getLangueCode()); ?>"/>
            </div>
        </li>
    <?php endforeach; ?>
    </ul>
</div>
<script src="<?php echo $this->getBaseURL(); ?>js/libs/galleria/galleria-1.2.9.min.js" type="text/javascript"></script>